@import '~sassvar';

.timeline {
}

.timeline:first-child {
    margin-top: 20px;
}

.timeline-item-hd {
    padding-left: 54px;
    margin-bottom: 12px;
    position: relative;

    h2 {
        line-height: 42px;
        font-size: 30px;
    }

    small {
        margin-left: 10px;
        font-size: 24px;
        color: $text-normal-light;
    }

    &:before {
        content: '';
        position: absolute;
        top: -40px;
        left: 22px;
        height: 94px;
        width: 1px;/*no*/
        background: $background-primary;
    }

    &:after {
        content: '';
        position: absolute;
        left: 11.5px;
        bottom: 22px;
        width: 20px;
        height: 20px;
        border: 1px solid #fff;/*no*/
        border-radius: 22px;
        background: $background-primary;
    }
}

.timeline-item-bd {
    .row {
        justify-content: space-between;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .info {
        display: flex;
        align-items: center;
    }

    .summary {
        width: 90px;
        height: 90px;
        line-height: 90px;
        margin-right: 16px;
        color: #fff;
        text-align: center;
        background: #ff8aa7;
        border-radius: 90px;

        &.active {
            background: #b2dcff;
        }
    }

    .name {
        margin-bottom: 2px;
    }

    .title {
        font-size: 30px;
        line-height: 42px;

        small {
            margin-left: 7px;
            font-size: 24px;
            color: $text-primary;
            font-weight: bold;
        }
    }

    .times {
        line-height: 34px;
        font-size: 24px;
        color: $text-normal-light;
    }
}